package com.multidisplay.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class InputParam {
    private int size;

    private int page;

    private String keyWord;

    private String id_;

    private String selectVal;

    private String account_;

    private String name_;

    private String phone_number_;

    private String equipmentName;

    @DateTimeFormat(pattern = "yyyy-MM-dd") //前台传到后台的时间转换
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") //后台传到前台的时间转换
    private Date beginDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd") //前台传到后台的时间转换
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") //后台传到前台的时间转换
    private Date endDate;

    private String strParentID;

    private String order;

    private String sort;
}
